<div class="aw-content-wrap" id="user_list">
    <div class="mod">
        <div class="mod-head">
            <h3>
                <ul class="nav nav-tabs">
                    <li ><a href="{:U('admin/category/index')}">分类列表</a></li>
                    <li class="active"><a href="">添加分类</a></li>
                </ul>
            </h3>
        </div>
        <div class="tab-content mod-content">
            <div class="tab-pane active" id="add">
                <div class="table-responsive">
                    <form action="{:U('admin/category/add')}" id="settings_form" method="post">
                        <table class="table table-striped">
                            <tbody><tr>
                                <td>
                                    <div class="form-group">
                                        <span class="col-sm-4 col-xs-3 control-label">分类名:</span>
                                        <div class="col-sm-5 col-xs-8">
                                            <input class="form-control" name="category_name" type="text" value="">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="form-group">
                                        <span class="col-sm-4 col-xs-3 control-label">所属分类:</span>
                                        <div class="col-sm-5 col-xs-8">
                                            <select class="form-control" name="fid">
                                                <option value="0">顶级分类</option>
                                                <foreach name="cateData" item="vo">
                                                    <option value="{$vo.id}">{$vo.category_name}</option>
                                                </foreach>
                                            </select>
                                        </div>
                                    </div>
                                </td>
                            </tr>

                            </tbody><tfoot>
                        <tr>
                            <td>
                                <input type="submit" value="添加分类" class="btn btn-primary center-block">
                            </td>
                        </tr>
                        </tfoot>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>